package Emp;

public class BasePlusSalesEmployee extends SalesEmployee{
    private double basic;//底薪
    public BasePlusSalesEmployee(String name, int month, double sale, double deduct,double basic){
        super(name, month,sale,deduct);
        this.basic = basic;
    }
    public double getBasic(){
        return basic;
    }
    public void setBasic(double basic){
        this.basic = basic;
    }
    public double getSalary(int month){
        return basic + super.getSalary(month);
    }
}
